<%@ page import="com.fdb.Calculator" %><%--
  Created by IntelliJ IDEA.
  User: Lee
  Date: 2022/10/24
  Time: 10:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<jsp:useBean id="Cal" class="com.fdb.Calculator" scope="page">
    <jsp:setProperty name="Cal" property="*"/>
</jsp:useBean>
<%
    int ret=Cal.Cal();
    out.print("结果是:"+ret);
%>
</body>
</html>
